﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 企业权限中间表
    /// </summary>
	[Table("FW_Company2Action")]
    [Display(Name = "企业权限中间表", Description = "企业权限中间表")]
    [AutoMapFrom(typeof(ViewFWCompany2Action))] 
    public partial class FWCompany2ActionEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("Company2ActionGUID")]
        [Display(Name = "企业权限中间表主键", Description = "企业权限中间表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 企业GUID
        /// </summary>
		[Display(Name = "企业GUID", Description = "企业GUID")]
        [Column("CompanyGUID")]
        public Guid? CompanyGUID { get; set; }   

		/// <summary>
        /// 权限点ID
        /// </summary>
		[Display(Name = "权限点ID", Description = "权限点ID")]
        [Column("ActionGUID")]
        public Guid? ActionGUID { get; set; }   
    }
}
